package com.hailiao.bd.demo.app;

import android.app.Application;

import com.hailiao.bdproto2p1.BDProto2p1;
import com.hailiao.hlbluetoothlib.HLBleManager;

public class MyApp extends Application {

    public static MyApp instant;

    public HLBleManager ble;

    @Override
    public void onCreate() {
        super.onCreate();

        instant = this;

        // 初始化蓝牙管理器
        ble = HLBleManager.instance(this);

        // 协议初始化
        BDProto2p1.INSTANCE.init();

    }
}
